﻿using System;
using System.Collections.Generic;
using System.Net.Sockets;
using System.Net;
using System.Text;

namespace IndustrialCommunication.Interfaces
{
    public interface ISocketOptions
    {
        IPEndPoint Server { get; set; }
        AddressFamily AddressFamily { get;  set; }
        SocketType SocketType { get;  set; }
        ProtocolType ProtocolType { get;  set; }
        int? ConnectTimeout {  get; set; }
        int? SendTimeout { get; set; }
        int? ReceiveTimeout { get; set; }
        int? ReceiveLength { get; set; }
        int? SendLength { get; set; }
    }
    public interface INetOptions:ISocketOptions
    {
        INetMessage NetMessage {  get; set; }

    }
}
